import request from '@/utils/request'

// export导出
// export function register (data) {
//   return request.post('/user/register', data)
// }

// export const register = data => request.post('/user/register', data)
export const login = data => request.post('/user/login', data)
export const register = data => request.post('/user/register', data)
export const getUserInfo = data => request.get('/user/currentUser', data)
